import { GET_GOODS_DETAILS } from "../actionTypes/index";
import { getGoodsdails } from "../../http/api";
export const sendGetGoodsDetails = () => {
  return async (dispatch) => {
    let res = await getGoodsdails();
    dispatch({
      type: GET_GOODS_DETAILS,
      payload: {
        goodsdails: res.message
      },
    });
  };
};
